﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Auditing;
using Volo.Abp.Domain.Entities;

namespace Loong.Admin.Roles
{
    public class Role : AggregateRoot<Guid>, IHasEntityVersion
    {
        public virtual string Name { get; protected internal set; }

        [DisableAuditing]
        public virtual string NormalizedName { get; protected internal set; }
        public virtual bool IsDefault { get; set; }
        public virtual bool IsStatic { get; set; }
        public virtual bool IsPublic { get; set; }
        public virtual int EntityVersion { get; protected set; }

        public virtual ICollection<RoleClaim> Claims { get; protected set; }

    }
}
